﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllOrderServicesMaintain
    {
        #region[Get-Data]
        public DataTable GetSell(string keywords)
        {
            return DalOrderServicesMaintain.GetSell(keywords);
        }
        public DataTable GetSellDetail(string keywords, int Id_Sell)
        {
            return DalOrderServicesMaintain.GetSellDetail(keywords, Id_Sell);
        }
        public DataTable GetOrderServicesMaintain(string keywords)
        {
            return DalOrderServicesMaintain.GetOrderServicesMaintain(keywords);
        }
        public DataTable GetOrderServicesMaintainFillter(string DateBegin, string DateEnd)
        {
            return DalOrderServicesMaintain.GetOrderServicesMaintainFillter(DateBegin, DateEnd);
        }
        public DataTable GetOrderServicesMaintainEdit(int id)
        {
            return DalOrderServicesMaintain.GetOrderServicesMaintainEdit(id);
        }
        public DataTable GetOrderServicesMaintainEditGrid(int id)
        {
            return DalOrderServicesMaintain.GetOrderServicesMaintainEditGrid(id);
        }
        public DataTable GetOrderServicesMaintainDetailTemp(int Users_Id, int Flag)
        {
            return DalOrderServicesMaintain.GetOrderServicesMaintainDetailTemp(Users_Id, Flag);
        }
        public DataTable GetSellSum(int ? Maintain_ID, int ? Users_Id, int Flag)
        {
            return DalOrderServicesMaintain.GetSellSum(Maintain_ID, Users_Id, Flag);
        }
        public static bool GetOrderServicesMaintainCheckReview(EtOrderServicesMaintain obj)
        {
            return DalOrderServicesMaintain.GetOrderServicesMaintainCheckReview(obj);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtOrderServicesMaintain obj)
        {
            return DalOrderServicesMaintain.Insert(obj);
        }
        public static bool Update(EtOrderServicesMaintain obj)
        {
            return DalOrderServicesMaintain.Update(obj);
        }
        public static bool Delete(EtOrderServicesMaintain obj)
        {
            return DalOrderServicesMaintain.Delete(obj);
        }
        public static bool InsertDetail(EtOrderServicesMaintainDetail obj)
        {
            return DalOrderServicesMaintain.InsertDetail(obj);
        }
        public static bool UpdateDetail(EtOrderServicesMaintainDetail obj)
        {
            return DalOrderServicesMaintain.UpdateDetail(obj);
        }
        public static bool DeleteDetail(EtOrderServicesMaintainDetail obj)
        {
            return DalOrderServicesMaintain.DeleteDetail(obj);
        }
        public static bool DeleteAdd(EtOrderServicesMaintainDetail obj)
        {
            return DalOrderServicesMaintain.DeleteAdd(obj);
        }
        public static bool Review(EtOrderServicesMaintain obj)
        {
            return DalOrderServicesMaintain.Review(obj);
        }
        #endregion
    }
}